import request from '@/utils/request'

// 查询乘客信息
export function selectCkInfoByNickNameAndIdCard(query) {
  return request({
    url: '/ckxl/selectCkInfoByNickNameAndIdCard',
    method: 'get',
    params: query
  })
}

// 查询乘客证件信息
export function getCkIdCardInfo(lastSixIdNum) {
  return request({
    url: '/ckxl/getCkIdCardInfo/'+ lastSixIdNum,
    method: 'get'
  })
}

// 查询乘客行李-分拣扫码信息
export function selectRepairInfoByNickNameAndIdCard(query) {
  return request({
    url: '/ckxl/selectRepairInfoByNickNameAndIdCard',
    method: 'get',
    params: query
  })
}

// 查询乘客行李 动态跟踪信息
export function selectCkXlDynamicInfo(query) {
  return request({
    url: '/ckxl/selectCkXlDynamicInfo',
    method: 'get',
    params: query
  })
}

// 查询学生 证件信息
export function getCkBaseIdCardInfo(lastSixIdNum) {
  return request({
    url: '/ckxl/getCkBaseIdCardInfo/'+ lastSixIdNum,
    method: 'get'
  })
}

// 查询学生 姓名
export function getCkXmInfo() {
  return request({
    url: '/ckxl/getCkXmInfo',
    method: 'get'
  })
}

// 查询学生 证件信息
export function getCkIdCardByCkXm(ckName) {
  return request({
    url: '/ckxl/getCkIdCardByCkXm/'+ ckName,
    method: 'get'
  })
}
